{% load i18n %}
<ul class="nav nav-tabs" data-bs-toggle="tabs">
  <li class="nav-item">
    <a href="{% url 'settings:personal-language' %}" class="nav-link {% if 'language' in request.path %} active{% endif %}">{% translate "Language" %}</a>
  </li>
  {% if not SOCIALACCOUNT_ONLY %} 
    <li class="nav-item">
      <a href="{% url 'settings:totp' %}" class="nav-link {% if '2fa' in request.path %} active{% endif %}">{% translate "Two-factor authentication" %}</a>
    </li>
  {% endif %}
</ul>
